// 管理用户信息的工具
const CACHE_USER_INFO_KEY = 'user_info'

function getUserInfo() {
  return localStorage.getItem(CACHE_USER_INFO_KEY)
}
function setUserInfo(value) {
  localStorage.setItem(CACHE_USER_INFO_KEY, value)
}
function removeUserInfo() {
  localStorage.removeItem(CACHE_USER_INFO_KEY)
}
export {
  getUserInfo,
  setUserInfo,
  removeUserInfo
}